package com.xkdx.caipiao.presistence.versioninfo;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

import com.xkdx.caipiao.R;
import com.xkdx.caipiao.module.network.AbsAction;
import com.xkdx.guangguang.application.MyApplication;

public class VersionInfoAction extends AbsAction {
	String uid, token;

	public VersionInfoAction(String uid, String token) {
		this.uid = uid;
		this.token = token;
		

	}

	@Override
	public void constructRequest() {

		HashMap<String, String> map = new HashMap<String, String>();
		map.put("devicetype", "2");
		map.put("Version", MyApplication.getInstance().getString(R.string.version_update_time_caipiao));
		

		String json = constructJson(map);
		Parameter parameter = new Parameter("System", "update", json);

		List<Parameter> list = new ArrayList<Parameter>();
		list.add(parameter);
		requestData = constructMod(list);
	}
}
